Improve ispell.el word completion handling.
authorAgustin martin <agustin.martin@hispalinux.es>
Wed, 7 Jul 2010 10:30:57 +0000 (12:30 +0200)
committerAgustin martin <agustin.martin@hispalinux.es>
Wed, 7 Jul 2010 10:30:57 +0000 (12:30 +0200)
commit43707702d2011322a84f082d9723d6eb66923cf9
treeabd42730be716a900580a5f5c14cc277b0f96570
parentbe8813314b65a4d5a5fc34c65854a72523724ad3
Improve ispell.el word completion handling.

* ispell.el (ispell-alternate-dictionary): Use file-readable-p.
  Return nil if no word-list is found at default locations.
 (ispell-complete-word-dict): Default to nil.
 (ispell-command-loop): Use 'word-list' when using lookup-words.
 (lookup-words): Use ispell-complete-word-dict or
 ispell-alternate-dictionary.  Check for word-list availability
 and handle errors if needed with better messages (Bug#6539).
 (ispell-complete-word): Use ispell-complete-word-dict or
 ispell-alternate-dictionary.
lisp/ChangeLog
lisp/textmodes/ispell.el